<template>
  <div class="child-page">
    <div> 自己的玩具{{ toy }}</div>
    <Son />
  </div>
</template>
<script setup lang="ts" name="propsChild">
import Son from './son.vue';
import { ref } from 'vue';

const toy = ref('熊猫');

</script>
<style  scoped>
.child-page{
  padding: 20px 50px;
  background: green;
  color: #fff;
}
</style>
